FROM ubuntu:latest
MAINTAINER bigpigeon0 <bigpigeon0@gmail.com>

ENV REFRESHED_AT 2016-02-24
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get -yqq update
RUN apt-get install -yqq python python-dev
RUN apt-get install -yqq python-setuptools
RUN apt-get install -yqq g++
RUN apt-get install -yqq libffi-dev libssl-dev
RUN apt-get install -yqq libjansson4
RUN apt-get install -yqq uwsgi
RUN apt-get install -yqq uwsgi-plugin-python
RUN easy_install pip
RUN pip install bottle 
RUN pip install redis

RUN ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/

RUN mkdir -p /data/work/server
WORKDIR /data/work/server
EXPOSE 80
